package com.xxx.dict.service;



import com.xxx.dict.domain.Dict;
import com.xxx.dict.query.DictQuery;

import java.util.List;

public interface IDictService {
    List<Dict> findAll();
    //根据id查询
    Dict findOne(Long id);
    //分页查询
    List<Dict> findByPage(DictQuery dictQuery);
    //修改
    void updateById(Dict dict);
    //增加数据
    void insert(Dict dict);
    //删除用户
    void deleteById(Long id);
    //批量删除
    void  bathDicts(Long[] ids);
}
